package day5;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Div6 {
    public static void main(String[] args) throws Exception {
        Caculator c = new Caculator();
        Scanner in = new Scanner(System.in);
        System.out.println("请输入a和b两个整数：");
        int a = in.nextInt();
        int b = in.nextInt();

//        int k=c.chu(a,b);
//        System.out.println("商是"+k);

        try {//ctrl+ alt +T
            int k=c.chu(a,b);
            System.out.println("商是"+k);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
